import {
    DIC
} from '@/const/dic'

// 样品列表
export const listOption = {
    index: true,
    indexLabel: '序号',
    border: true,
    selection: false,
    menuBtn: false,
    addBtn: false,
    cellBtn: false,
    editBtn: false,
    delBtn: false,
    dicData: DIC,
    size: 'mini',
    align: "center",
    menuWidth: 300,
    refreshBtn: false,
    searchBtn: false,
    menuAlign: "center",
    columnBtn: false,
    column: [{
        label: "留样状态",
        prop: "isRetention",
        width: "80",
        slot: true,
    }, {
        label: "样品分类",
        prop: "sampleType",
        width: "120"
    }, {
        label: "样品编码",
        prop: "code",
        width: "110",
    }, {
        label: "样品名称",
        prop: "name",
        width: "110",
    }, {
        label: "规格",
        prop: "specs",
        width: "80",
    }, {
        label: "数量",
        prop: "numbers",
        width: "80",
    }, {
        label: "委托单位/电话",
        prop: "entrustUnit",
        width: "170",
        slot: true,
    }, {
        label: "委托人/电话",
        prop: "client",
        width: "170",
        slot: true,
    }, {
        label: "委托单位地址",
        prop: "address",
        width: "170",
    }, {
        label: "委托时间",
        prop: "entrustTime",
        width: "120",
    }, {
        label: "最后修改人 / 时间",
        prop: "editTime",
        width: "110",
        slot: true,
    }]
};

// 留样列表
export const retainedOption = {
    index: true,
    indexLabel: '序号',
    border: true,
    selection: false,
    addBtn: false,
    cellBtn: false,
    editBtn: false,
    delBtn: false,
    dicData: DIC,
    size: 'mini',
    align: "center",
    menuWidth: 230,
    refreshBtn: false,
    searchBtn: false,
    menuAlign: "center",
    columnBtn: false,
    column: [{
        label: "处理状态过期时间",
        prop: "handleTime",
        width: "80",
        slot: true,
    }, {
        label: "样品分类",
        prop: "sampleType",
        width: "120"
    }, {
        label: "样品编码",
        prop: "code",
        width: "110",
        slot: true
    }, {
        label: "样品名称",
        prop: "sampleName",
        width: "110",
        slot: true
    }, {
        label: "规格",
        prop: "specs",
        width: "60",
        slot: true
    }, {
        label: "数量",
        prop: "numbers",
        width: "60",
    }, {
        label: "留样人/时间",
        prop: "peopleAndTime",
        width: "110",
        slot: true
    }, {
        label: "储存仓库/条件",
        prop: "sampleRetentionSave",
        width: "110",
        slot: true
    }, {
        label: "委托单位/电话",
        prop: "entrustUnit",
        width: "110",
        slot: true
    }, {
        label: "委托人/电话",
        prop: "entrustPeople",
        width: "110",
        slot: true
    }, {
        label: "委托单位地址",
        prop: "entrustAddress",
        width: "110",
        slot: true
    }, {
        label: "委托时间",
        prop: "startTime",
        width: "120",
    }, {
        label: "最后修改人 / 时间",
        prop: "editTime",
        width: "110",
        slot: true,
    }]
};